ostree: Support for using EDITOR to fill commit subject/body
authorStef Walter <stefw@redhat.com>
Thu, 29 Aug 2013 15:23:20 +0000 (17:23 +0200)
committerStef Walter <stefw@redhat.com>
Thu, 29 Aug 2013 19:08:32 +0000 (21:08 +0200)
commita4c3c4ae38da32e665a8b4fd291adb4d71376eac
tree2c3bce19098563a1893a2000d36312892c6463ce
parent1a708accf178c4e14f74df373fc233a7ca52c2ff
ostree: Support for using EDITOR to fill commit subject/body

Behave similar to git when 'ostree commit' is run without
a --subject or --body. Bring up an editor. The first line becomes
the subject and following lines become the --body after an optional
blank line.

Use similar logic to git in determining EDITOR

https://bugzilla.gnome.org/show_bug.cgi?id=707063
Makefile-ostree.am
src/ostree/ot-builtin-commit.c
src/ostree/ot-editor.c [new file with mode: 0644]
src/ostree/ot-editor.h [new file with mode: 0644]